package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.io.Serializable;
import java.util.Collection;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.example.entity.RepayPlan;

/**
 * <p>
 * 还款计划表 Mapper 接口
 * </p>
 *
 * @author libo
 * @since 2023-11-20
 */
public interface RepayPlanMapper extends BaseMapper<RepayPlan> {

    List<RepayPlan> listByIdsWithTable(@Param("idList") Collection<? extends Serializable> idList,
            @Param("tableName") String tableName);

    List<RepayPlan> actualNodeRepayDay(@Param("tableName") String tableName,
            @Param("startTime") Date startTime, @Param("endTime") Date endTime,
            @Param("deductChannels") List<String> deductChannels,
            @Param("processMaxId") Long processMaxId,
            @Param("batchRecodeSize") Long batchRecodeSize);

//    int updateByIdAndOtherpayBatch(RepayPlan entity);
}
